
<div id="sidebar">
<div class="boxed">
<h2 class="title"><span class="fleft">好友</span><span class="fright"><a
	href="friendList.html?userId=$!{user.id}">查看全部</a></span></h2>
<div class="clear"></div>
<div class="sidecontent">
<div>#foreach($friend in $friendList)
<div class="plist">
<p><a href="userHome.html?userId=$!{friend.receiverId}"><img
	src="readImage.html?id=$!{friend.headPic}" /></a></p>
<p><a href="userHome.html?userId=$!{friend.receiverId}">$!{friend.receiver}</a></p>
</div>
#end #if($!{friendList.size()}==0)
<div class="default">暂无好友</div>
#end
<div class="clear"></div>
</div>
</div>
</div>
<div class="boxed">
<h2 class="title"><span class="fleft">收藏</span><span class="fright"><a
	href="showCollect.html?userId=$!{user.id}">查看全部</a></span></h2>
<div class="clear"></div>
<div class="sidecontent">
<div>#foreach($collect in $collectList)
<div class="plist">
<p><a href="imageDetail.html?imageId=$!{collect.imageId}"><img
	src="readImage.html?id=$!{collect.url}s" /></a></p>
</div>
#end #if($!{collectList.size()}==0)
<div class="default">暂无收藏</div>
#end
<div class="clear"></div>
</div>
</div>
</div>
</div>